package com.jzy.repository;

import com.jzy.entity.Vo.ContentVo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ContentRepository extends JpaRepository<ContentVo, Integer>, JpaSpecificationExecutor<ContentVo>,BaseRepository<ContentVo, Integer> {
    //根据Slug查询
    List<ContentVo> findAllBySlug(String slug);


}
